package org.student.entity;

public class Student {
              private int son;
              private String sname;
              private int sage;
              private String saddress;           
              public Student(){
            	  
              }
              public  Student(String sname,int sage,String saddress){
       	       
       	       this.sname = sname;
       	       this.sage = sage;
       	       this.saddress = saddress;
         } 
             public  Student(int son,String sname,int sage,String saddress){
            	       this.son = son;
            	       this.sname = sname;
            	       this.sage = sage;
            	       this.saddress = saddress;
              }
             public  Student(int son){
      	       this.son = son;
        }
             
			public int getSon() {
				return son;
			}
			public void setSon(int son) {
				this.son = son;
			}
			public String getSname() {
				return sname;
			}
			public void setSname(String sname) {
				this.sname = sname;
			}
			public int getSage() {
				return sage;
			}
			public void setSage(int sage) {
				this.sage = sage;
			}
			public String getSaddress() {
				return saddress;
			}
			public void setSaddress(String saddress) {
				this.saddress = saddress;
			}
           
            public String toString() {
             String result = this.getSon()+"---"+this.getSname()+"---"+this.getSage()+"---"+this.getSaddress();
            return  result;
            }
}
